@import '@/app/styles/variables';

.back {
  margin: 24px 0;
}

.container {
  display: flex;
  max-width: 1144px;
  flex-direction: column;
  margin: auto;
  gap: 64px;
}
.article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
}
.description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  align-self: stretch;
}
.title {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
  word-break: break-word;
  justify-content: space-between;

  h1 {
    color: #000;
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: 46px; /* 109.524% */
  }
}
.actions {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 16px;
}
.date {
  color: #ababab;

  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 137.5% */
}

.author {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.hr {
  height: 1px;
  margin: 0;
  background: #f3f3f3;
  width: 100%;
}
.sources_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sources {
}

.sources_title {
  font-size: 20px;
  line-height: 30px;
}

.main_image {
  position: relative;
  width: 100%;
  aspect-ratio: 1144 / 644;
  border-radius: 32px;
  overflow: hidden;
  background-color: #f3f3f3;
  img {
    border-radius: inherit;
  }
}

.article_body {
  max-width: 100%;
  width: 100%;
  overflow: hidden;
  font-size: 20px;
  line-height: 30px;
  img,
  iframe {
    width: 100% !important;
    height: 100% !important;
  }
  a {
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
  }
  a:hover,
  a:focus {
    color: #0056b3;
  }
  h2 {
    font-size: 32px;
    line-height: 40px;
  }
  iframe {
    aspect-ratio: 16 / 9;
  }
  ul {
    list-style-type: disc;
    list-style-position: inside;
  }
  ol {
    list-style-type: decimal;
    list-style-position: inside;
  }
  ul ul,
  ol ul {
    list-style-type: circle;
    list-style-position: inside;
    margin-left: 15px;
  }
  ol ol,
  ul ol {
    list-style-type: lower-latin;
    list-style-position: inside;
    margin-left: 15px;
  }
  blockquote {
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
  }
  blockquote:before {
    color: #ccc;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
  }
  blockquote p {
    display: inline;
  }

  em {
    font-style: italic;
  }
}

.suggestions {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.small_title {
  color: #000;
  font-size: 42px;
  font-style: normal;
  font-weight: 500;
  line-height: 48px; /* 114.286% */
}

.slice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

@include media(sm) {
  .article_body {
    font-size: 16px;
    line-height: 22px;
    h2 {
      font-size: 24px;
      line-height: 32px;
    }
  }
  .main_image {
    border-radius: 16px;
  }
  .container {
    gap: 24px;
  }

  .back {
    margin: 16px 0;
  }
  .title {
    h1 {
      font-size: 24px;
      line-height: 30px; /* 125% */
    }

    gap: 16px;
    padding-top: 16px;
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .actions {
    margin-left: auto;
  }
  .date {
    font-size: 14px;
    line-height: 20px; /* 125% */
  }
  .suggestions {
    gap: 16px;
  }
  .small_title {
    font-size: 24px;
    line-height: 30px; /* 125% */
  }
  .article {
    gap: 12px;
  }
  .back {
    position: absolute;
    margin: 16px 0;
  }
  .sources_title {
    font-size: 14px;
    line-height: 20px;
  }
}
